import { defineStore } from 'pinia';

export const useHeaderStore = defineStore('useHeaderStore', {
  state: () => ({
    showDrawer:false
  }),
  getters: {
  },
  actions: {
    close(){
        return this.showDrawer = false
    },
    open(){
        return this.showDrawer = true
    },
    update(){
        return this.showDrawer = !this.showDrawer
    }
  },
});
